<%@ include file="/view/template/header.jsp"%>	
	<div id="content">
    	<%@ include file="/view/ehr/ehr_common.jsp"%>
        		<div class="right-content">
			<div class="box">
			 <div class="sub_box">
				<h1>Merge Two Patients</h1>
				<s:form action="search_patient_form" method="post">
				<div class="con-part"><span><s:label key="label.merge.patient1" cssClass="label_text"></s:label></span> 
				<s:textfield name="patientId1" value="%{patientId1}" class="input-text"></s:textfield> </div>
				
				<h3>Search the other Patient to merge</h3>
				<div class="con-part"><span><s:label key="label.patient.patientId" cssClass="label_text"></s:label></span> 
				<s:textfield name="patientDetails.patient.patientId"
						class="input-text"></s:textfield> </div>
					<div class="con-part"><span><s:label key="label.patient.givenName" cssClass="label_text"></s:label></span> 
					<s:textfield name="patientDetails.patient.givenName" class="input-text"></s:textfield>  </div>
						<div class="con-part"><span><s:label key="label.patient.familyName" cssClass="label_text"></s:label></span> <s:textfield name="patientDetails.patient.familyName"
						class="input-text"></s:textfield>  </div>
						<div class="con-part"><span><s:label key="label.patient.nic" cssClass="label_text"></s:label> </span>
						<s:textfield name="patientDetails.patient.nicNo"
							class="input-text"></s:textfield>  </div>
							
					<div class="button_bar2"><s:url action="merge_patient_results_form" var="merge_patient_search_form_action">
					<s:param name="patient_id1" value="patientId1"/>
				</s:url>
				<a href="${merge_patient_search_form_action}" class="green"><s:text name="search.search_button"/></a>
					</div>
					<div class="con-part"><s:if test="%{message.message!=empty}">
							<s:property value="message.message" />
						</s:if>  </div>
				</s:form>
			</div>
			</div>
		</div>
    </div>

	<%@ include file="/view/template/footer.jsp"%>
